package com.axonactive.yolo.dao.interfaces;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.axonactive.yolo.domain.FlightNotification;
import com.axonactive.yolo.domain.TaskNotification;

public interface TaskNotificationRepository extends
		JpaRepository<TaskNotification, Integer> {

	public List<TaskNotification> findByUserIdAndStatus(int userId, int status);

	public List<TaskNotification> findByUserId(int userId);

	public List<TaskNotification> findByTaskId(String taskId);
	
	public List<TaskNotification> findByTaskIdAndUserId(String taskId, int userId);
	
}
